.ecg-bg {
  padding: 0 1px 1px 1px;
  .ecg-content {
    position: relative;
    width: 100%;
    height: 310rpx;
    .canvas-bg {
      position: absolute;
      inset: 0;
      z-index: 1;
      display: flex;
      width: auto;
      height: 100%;
      overflow: hidden;
      border-radius: 0 0 20rpx 20rpx;
    }
    .canvas-font {
      position: absolute;
      inset: 0;
      z-index: 2;
      display: flex;
      width: auto;
      height: 100%;
      overflow: hidden;
    }
    .canvas-timer {
      position: absolute;
      inset: 0;
      z-index: 3;
      display: flex;
      width: auto;
      height: 100%;
      overflow: hidden;
    }
    .canvas-line-box {
      position: absolute;
      inset: 0;
      z-index: 4;
      display: flex;
      align-items: center;
      width: 100%;
      height: 100%;
      .line-left {
        height: 100%;
      }
      .line-box {
        position: relative;
        width: -webkit-fill-available;
        height: 100%;
        overflow-x: hidden;
        .line-more {
          display: flex;
          width: fit-content;
          height: 100%;
          white-space: nowrap;
        }
        .canvas-line {
          flex-shrink: 0;
        }
      }
    }
  }
}
